package com.tongji.admin.view
{
	import flash.net.FileReference;
	import flash.net.URLRequest;

	/**
	 * 
	 * @author yanghanbing
	 * 2011/7/
	 */ 
	public class UploadEvent
	{
		public static function upload(type:String, file:FileReference, isModel:Boolean):void
		{
			var request:URLRequest = new URLRequest();
			var file:FileReference;
			switch(type)
			{
				case "door":
					request.url = "";
					file.upload(request);
					break;
				case "window":
					break;
			}
		}
		public function UploadEvent()
		{
		}
	}
}